package com.iflytek.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iflytek.dao.OrderDao;
import com.iflytek.domain.BookedHome;
import com.iflytek.domain.Homes;
import com.iflytek.domain.Hometype;
import com.iflytek.domain.Orders;
import com.iflytek.domain.User;
import com.iflytek.service.OrderService;

@Service
public class OrderServiceImpl implements OrderService {

	@Autowired
	private OrderDao od;
	
	@Override
	public int insertOrders(Orders orders) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public User getUserByPhoneNumber(String userphone) {
		return od.getUserByPhoneNumber(userphone);
	}


	@Override
	public Hometype getHometypeByHtid(String htid) {
		return od.getHometypeByHtid(htid);
	}


	@Override
	public Orders getOrderByOid(String orderId) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public List<BookedHome> getBookedHomeByHtid(String htid) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public List<Homes> getHomeByHtid(String htid) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public List<Homes> getCanBookHomeList(Orders order, List<BookedHome> bookedHomeList, List<Homes> homeList) {
		// TODO Auto-generated method stub
		return null;
	}

	
	
	

}
